import Layout from '@/views/layout/Layout'
export default [
  // 管理员列表
  {
    path: '/system',
    component: Layout,
    redirect: 'system',
    c_name: '系统',
    meta: {
      title: 'nested',
      icon: 'nested'
    },
    children: [{
      path: '',
      component: () => import('@/thcat_view/system/role/index.vue'),
      name: 'system',
      meta: { title: '角色管理', icon: 'nested', noCache: true, c_name: '角色管理' }
    }, {
      path: 'add_user',
      component: () => import('@/thcat_view/system/user/index.vue'),
      name: 'system',
      meta: { title: '管理员管理', icon: 'nested', noCache: true, c_name: '管理员管理' }
    },
    {
      path: '/add_role',
      component: () => import('@/thcat_view/system/role/add_role.vue'),
      name: 'system',
      meta: { title: 'system', icon: 'nested', noCache: true, c_name: '添加角色' }
    }, {
      path: 'mgz',
      component: () => import('@/thcat_view/system/mgz/index.vue'),
      name: '敏感字管理',
      meta: { title: '敏感字管理', icon: 'nested', noCache: true, c_name: '敏感字管理' }
    },
    {
      path: '/mgz_add',
      component: () => import('@/thcat_view/system/mgz/mgz_add.vue'),
      name: '敏感字管理',
      meta: { title: '敏感字管理', icon: 'nested', noCache: true, c_name: '敏感字管理_add' }
    },
    {
      path: '/edit_mgz',
      component: () => import('@/thcat_view/system/mgz/edit.vue'),
      name: '敏感字管理',
      meta: { title: '敏感字管理', icon: 'nested', noCache: true, c_name: '敏感字管理_edit' }
    },
    {
      path: 'Pay',
      component: () => import('@/thcat_view/system/Pay/index.vue'),
      name: '支付渠道管理',
      meta: { title: '支付渠道管理', icon: 'nested', noCache: true, c_name: '支付渠道管理' }
    },
    {
      path: 'version',
      component: () => import('@/thcat_view/system/version/index.vue'),
      name: 'APP版本号管理',
      meta: { title: 'APP版本号管理', icon: 'nested', noCache: true, c_name: 'APP版本号管理' }
    },
    {
      path: 'version',
      component: () => import('@/thcat_view/system/version/index.vue'),
      name: 'APP版本号管理',
      meta: { title: 'APP版本号管理', icon: 'nested', noCache: true, c_name: 'APP版本号管理' }
    },
    {
      path: 'report_m',
      name: 'report_m',
      component: () => import('@/thcat_view/system/report/index.vue'),
      meta: { title: '举报类型管理', icon: 'nested', noCache: true, c_name: '举报类型管理' }
    }
    ]
  },
  // app用户管理
  {
    path: '/user_m',
    component: Layout,
    redirect: 'user_m',
    c_name: '用户',
    meta: {
      title: 'nested',
      icon: 'nested'
    },
    children: [{
      path: '',
      component: () => import('@/thcat_view/user_m/user_m/index.vue'),
      name: 'user_m',
      meta: { title: '用户管理', icon: 'nested', noCache: true, c_name: '用户管理' }
    },
    {
      path: '/detail_user',
      component: () => import('@/thcat_view/user_m/user_m/detail.vue'),
      name: 'user_m',
      meta: { title: '修改用户信息', icon: 'nested', noCache: true, c_name: '修改用户信息' }
    },
    {
      path: 'Reward',
      name: 'Reward',
      component: () => import('@/thcat_view/user_m/Reward/index.vue'),
      meta: { title: '打赏记录', icon: 'nested', noCache: true, c_name: '打赏记录' }
    },
      // app实名认证
    {
      path: 'user_auth',
      name: 'user_auth',
      component: () => import('@/thcat_view/user_m/user_auth/index.vue'),
      meta: { title: '实名认证管理', icon: 'nested', noCache: true, c_name: '实名认证管理' }
    },
    {
      path: '/user_auth_detail',
      name: 'user_auth_detail',
      component: () => import('@/thcat_view/user_m/user_auth/detail.vue'),
      meta: { title: '实名认证管理', icon: 'nested', noCache: true, c_name: '实名认证管理_detail' }
    },
    {
      path: 'playLike',
      name: 'playLike',
      component: () => import('@/thcat_view/user_m/user_auth/index.vue'),
      meta: { title: '点赞记录', icon: 'nested', noCache: true, c_name: '点赞记录' }
    },
    {
      path: 'userReport',
      name: 'userReport',
      component: () => import('@/thcat_view/user_m/userReport/index.vue'),
      meta: { title: '用户举报管理', icon: 'nested', noCache: true, c_name: '用户举报管理' }
    }
    ]
  },
  // 道具管理
  {
    path: '/Prop',
    component: Layout,
    redirect: 'Prop',
    c_name: '道具管理',
    meta: {
      title: '道具管理',
      icon: 'nested'
    },
    name: '道具管理',
    children: [{
      path: '',
      component: () => import('@/thcat_view/Prop/index.vue'),
      name: 'Prop',
      meta: { title: '宠物管理', icon: 'nested', noCache: true, c_name: '宠物管理', name: '道具管理' }
    }, {
      path: '/addProp',
      component: () => import('@/thcat_view/Prop/addProp.vue'),
      name: 'Prop',
      meta: { title: '添加宠物', icon: 'nested', noCache: true, c_name: '添加宠物', name: '道具管理' }
    },
    {
      path: '/Propdetail',
      component: () => import('@/thcat_view/Prop/Propdetail.vue'),
      name: 'Prop',
      meta: { title: '宠物详情', icon: 'nested', noCache: true, c_name: '宠物详情', name: '道具管理' }
    }, {
      path: 'Gift',
      component: () => import('@/thcat_view/Prop/gift/container.vue'),
      name: 'Prop',
      redirect: '/Gift/index',
      meta: { title: '礼物管理', icon: 'nested', noCache: true, c_name: '礼物管理', name: '礼物管理' },
      children: [{
        path: '/Gift/index',
        component: () => import('@/thcat_view/Prop/gift/index.vue'),
        name: 'Prop',
        meta: { title: '礼物管理', icon: 'nested', noCache: true, name: '道具管理' }
      },
      {
        path: '/Gift/addGift',
        component: () => import('@/thcat_view/Prop/gift/addGift.vue'),
        name: 'Prop',
        meta: { title: '添加礼物', icon: 'nested', noCache: true, name: '道具管理' }
      },
      {
        path: '/Gift/detailGift',
        component: () => import('@/thcat_view/Prop/gift/Giftdetail.vue'),
        name: 'Prop',
        meta: { title: '礼物详情', icon: 'nested', noCache: true, name: '道具管理' }
      }
    ]
    }
    ]
  },
  // 话题管理
  {
    path: '/Topic',
    component: Layout,
    redirect: 'Topic',
    c_name: '话题管理',
    meta: {
      title: 'nested',
      icon: 'nested'
    },
    children: [{
      path: '',
      component: () => import('@/thcat_view/Topic/TopicStyle/index.vue'),
      name: 'Topic',
      meta: { title: '评论举报管理', icon: 'nested', noCache: true, c_name: '评论举报管理' }
    }, {
      path: 'Topic_jub',
      component: () => import('@/thcat_view/Topic/Topic_jub/index.vue'),
      name: 'Topic_jub',
      meta: { title: '话题举报管理', icon: 'nested', noCache: true, c_name: '话题举报管理' }
    },
    {
      path: 'Topic_style',
      component: () => import('@/thcat_view/Topic/TopicStyle/index.vue'),
      name: 'Topic_style',
      meta: { title: '类型管理', icon: 'nested', noCache: true, c_name: '类型管理' }
    },
    {
      path: 'TopicM',
      component: () => import('@/thcat_view/Topic/TopicM/contain.vue'),
      name: 'TopicM',
      redirect: '/TopicM/indexTopic',
      meta: { title: '话题管理', icon: 'nested', noCache: true, c_name: '话题管理' },
      children: [
        {
          path: '/TopicM/indexTopic',
          component: () => import('@/thcat_view/Topic/TopicM/index.vue'),
          name: 'Topic_style',
          meta: { title: '添加话题', icon: 'nested', noCache: true, c_name: '添加话题' }
        },{
        path: '/TopicM/detailTopic',
        component: () => import('@/thcat_view/Topic/TopicM/detail.vue'),
        name: 'Topic_style',
        meta: { title: '话题详情', icon: 'nested', noCache: true, c_name: '话题详情' }
      }]
    },
    {
      path: 'TopicC',
      component: () => import('@/thcat_view/Topic/TopicC/index.vue'),
      name: 'TopicC',
      meta: { title: '评论管理', icon: 'nested', noCache: true, c_name: '评论管理' }

    }
    ]
  }
]

